from django.urls import path

from user import views

app_name = 'user'

urlpatterns = [
    path('register', views.RegisterAPIView.as_view(), name = 'register'),
    path('login', views.LoginAPIView.as_view(), name = 'login'),
    path('getuserinfo', views.GetUserInfoAPIView.as_view(), name = 'getuserinfo'),
    path('modifyuserinfo', views.ModifyUserInfoAPIView.as_view(), name = 'modifyuserinfo'),
    path('modifypassword', views.ModifyPasswordAPIView.as_view(), name = 'modifypassword'),
    path('modifyavatar', views.ModifyAvatarAPIView.as_view(), name = 'modifyavatar')
]
